package org.cms.nio.connect;


/**
 * @Description: 
 * @Department:
 * @author andy.lhc
 * @date 2016年6月2日 上午10:28:11 
 */
public abstract class ConnectionStatus {
  private int status;

  public ConnectionStatus() {
      this.reset();
  }

  public int getStatus() {
      return status;
  }

  public void setStatus(int status) {
      this.status = status;
  }

  public void reset() {
      this.status = initialValue();
  }

  public abstract void setNextStatus(byte packetType);

  public abstract int initialValue();
}

